package com.qf.shop.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 库存管理
 * 
 * @author Java2103
 * @email Java2103@qq.com
 * @date 2021-08-03 09:14:52
 */
@Data
@TableName("t_stock")
public class StockEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 商品id
	 */
	private Integer gid;
	/**
	 * 库存
	 */
	private Integer stock;
	/**
	 * 仓库ID
	 */
	private Integer wid;

}
